<?php
/* @var $this VideoController */
/* @var $model Video */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'video-form',
	'enableAjaxValidation'=>false,
)); ?>

	<?//php echo $form->errorSummary($model); ?>

    <tr>
        <th valign="top"><?php echo $model->getAttributeLabel('nama_'); ?></th>
        <td valign="top">
            <?php echo $form->textField($model, 'nama_',array('size'=>60,'maxlength'=>255,'class' => 'inp-formpanjang')); ?>
        </td>
        <td class="idform">
            <div class="error-left"></div>
            <?php echo $form->error($model,'nama_',array('class'=>'error-inner')); ?>
        </td>
    </tr>

    <tr>
        <th valign="top">Url</th>
        <td class="idform">
            http://www.youtube.com/watch?v=<?php echo $form->textField($model, 'v',array('size'=>60,'maxlength'=>255,'class' => 'inp-form')); ?>
        </td>
        <td class="idform">
            <div class="error-left"></div>
            <?php echo $form->error($model,'v',array('class'=>'error-inner')); ?>
        </td>
    </tr>

    <tr>
        <th>&nbsp;</th>
        <td valign="top">
            <?php echo CHtml::submitButton($model->isNewRecord ? 'Buat' : 'Simpan',array('class'=>'form-submit')); ?>
        </td>
        <td class="idform"></td>
    </tr>

<?php $this->endWidget(); ?>

</div><!-- form -->
